// HLServer 1.17 Configuration File
// Line starting with "//" is a comment

// Count of servers that will be used.
// Default value: 700 [may differ]
ServerCount=700

// Enables advanced port mapping option.
// This can be used on computers with only few free ports.
// Default value: 0
AdvancedMapping=0

// Enables "Broadcast" option.
// Use this setting only if the program is using on local network (LAN).
// Default value: 0
BroadcastEnabled=0

// Starting port for HLServer sockets.
// If you feel that redirect value is too small, change this field to any other.
// Default value: 27015 [may differ]
StartingPort=27015

// Enables "debug mode" to debug running program.
// Default value: 0
EnableDebug=0

// Count of online players on the server.
// This option will work as a "max online players" if "RandomPlayers" is equal to 1.
// Default value: 32
Players=31

// Count of max players slots on the server.
// Default value: 32
Maxplayers=32

// Enables "VAC2" protection (servers will shown as "Secure").
// Default value: 1
VAC2=1

// Enables bots on the server (will shown as "B" image).
// Default value: 0
Bots=0

// Enables password protection (will shown as "Locked").
// This option will reduce redirect count in ~20 times!
// Default value: 0
Password=0

// Server name (hostname).
// This setting will overlayed if "RandomHostnames" set to 1.
// Default value: HLServer 1.17 [may change]
Hostname=CSPORTALL.3DN.RU

// Current map.
// This setting will overlayed if "RandomMaps" set to 1.
// Default value: de_dust2 [may change]
Map=de_dust2

// Game name.
// Default value: Counter-Strike [may change]
Game=Counter-Strike

// Game ID.
// Can be used to create servers with different games, such as HL, BS, OF and others.
// Default value: cstrike [may change]
GameID=cstrike

// Host operation system.
// Some of the master-servers will accept only Linux servers.
// Default value: Windows
OSType=Windows

// Type of the server.
// You can use it to emulate HLTV servers, as example.
// Default type: Game
ServerType=Game

// Possible actions with the client after challenge response.
// Values: 
// 0 - Send nothing
// 1 - Send "Bad password"
// 2 - Send HL Error (and you need to enter it in the "ErrorText")
// 3 - Send redirect packet
// Default value: 3
SendingType=3

// Enables sending of the "server lists".
// If HLServer is using as a redirect tool, then turn it off.
// Values:
// 0 - Serverlists are not enabled
// 1 - Enable Serverlist #1
// 2 - Enable Serverlist #2
// 3 - Enable either serverlists: #1 and #2.
// Default value: 0
ServerList=0

// Enables crashing of client.
// If HLServer is using as a redirect tool, then turn it off.
// Values:
// 0 - Crashing is not enabled
// 1 - Enable simple crashing
// 2 - Crashing is not enabled; otherwise, the "Enhanced crashing" option is enabled.
// 3 - Enable enhanced crashing
// Default value: 0
CrashClient=0

// Error text that will be send if "SendingType" is set to "2".
// Default value: Half-Life Error Text [may change]
ErrorText=Half-Life Error Text

// Enables console messages on the client after connect packet.
// This option is not rejecting client, you can use it if you want to.
// Default value: 1
ConsoleText=1

// Enables Remote Console Control (RCON).
// This can be used if you want to control server from any computer.
// To connect, you can use any of RCON client tools, such as HLRDP and HLSS.
// Default value: 1
EnableRCON=1

// Remote Console Control Password (RCON Password).
// Default value: 123456 [may change]
RCONPassword=123456

// Enables flood protection.
// Support HLFlooder, HLSFlooder by fire64 and some other flooders.
// In most cases, you may not use it; by the way, flooding doesn't affect HLServer effectivity.
// Default value: 0
EnableAF=0

// Enables filtering of UDP Ports.
// You can use it if you are have a client that can't be banned anyway.
// Default value: 0
UDPFilter=0

// List of UDP Ports, delimited with " ".
// Default value: (null) [may change]
UDPPorts=

// Players resolving option.
// Values:
// 0 - From list
// 1 - From HL Server
// Default value: 1
PSrvType=1

// Rules resolving option.
// Values:
// 0 - From list
// 1 - From HL Server
// Default value: 1
RSrvType=1

// IP Address of players resolving server.
// Warning: Do not use HLServer sockets as a resolving server! This may cause lags and program crashes in some cases!
// Default value: (any HL server) [may change]
PSrvIP=

// IP Address of rules resolving server.
// Warning: Do not use HLServer sockets as a resolving server! This may cause lags and program crashes in some cases!
// Default value: (any HL server) [may change]
RSrvIP=

// Redirect type.
// Values:
// 0 - Standart redirect (to 1 server)
// 1 - Advanced redirect (to 2 servers and more)
RedirectType=1

// IP of the server to redirect clients.
// Default value: (any HL server) [may change]
RedirectIP=

// Enables registration in master servers.
// Default value: 1
EnableMasters=1

// Version of the game.
// This option is needed to register in master servers.
// Default value: 1.6.3.7/Stdio
GameVersion=1.6.3.7/Stdio

// Enables random hostname select. (overlays "Hostname" option)
// Default value: 1
RandomHostnames=1

// Enables random players count. (overlays "Players"/"Maxplayers" options)
// Default value: 1
RandomPlayers=1

// Enables random map select. (overlays "Map" option)
// Default value: 1
RandomMaps=1

// Enables setinfo registration in the log.
// Default value: 1
RegisterSetinfo=1

// Developer settings.
UptimeInterval=1000
SocketRefreshRate=500
SystemRate=100

// Enables HLProxy at port 31337.
// Default value: 1.
EnableProxy=1
